package com.jz.community.modulemine.message.ui;

import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.modulemine.message.bean.MessageListBean;

public interface MessageView extends MVPContract {
    interface View extends MVPContract.View {
        void setMessageData(MessageListBean entity);

        void setMessageError(String msg);

        void readMessageSuccess(int clickPosition);

        void readMessageError(String msg);
    }

    interface Presenter extends MVPContract.Presenter<MessageView.View> {

        void initMessageData(int page, int size);

        void readMessage(String id, int clickPosition);

    }
}
